package priv.yiyuan.example.design.wrapper;

/**
 * 盔甲
 * <p>
 * 装饰器模式-具体装饰器
 *
 * @author YiYuan
 * @data 2025/9/2
 * @apoNote
 */
public class ArmorDecorator extends EquipmentDecorator {

    public ArmorDecorator(GameCharacter character) {
        super(character);
    }

    @Override
    public int getDefense() {
        return super.getDefense() + 50;
    }

    @Override
    public String getDescription() {
        return super.getDescription() + ", 穿戴盔甲";
    }

}
